﻿<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %> 
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="utf-8" />
		<title>36组美发POS系统</title>
		<meta name="keywords" content="日志分析展示系统" />
		<meta name="description" content="日志分析展示系统" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
		<!-- basic styles -->
		<link href="assets/css/bootstrap.min.css" rel="stylesheet" />
		<link rel="stylesheet" href="assets/css/font-awesome.min.css" />

		<!--[if IE 7]>
		  <link rel="stylesheet" href="assets/css/font-awesome-ie7.min.css" />
		<![endif]-->

		<!-- page specific plugin styles -->

		<link rel="stylesheet" href="assets/css/jquery-ui-1.10.3.custom.min.css" />
		<link rel="stylesheet" href="assets/css/chosen.css" />
		<link rel="stylesheet" href="assets/css/datepicker.css" />
		<link rel="stylesheet" href="assets/css/bootstrap-timepicker.css" />
		<link rel="stylesheet" href="assets/css/daterangepicker.css" />
		<link rel="stylesheet" href="assets/css/colorpicker.css" />

		<!-- fonts -->

		<link rel="stylesheet" href="assets\css\cyrillic.css" />

		<!-- ace styles -->

		<link rel="stylesheet" href="assets/css/ace.min.css" />
		<link rel="stylesheet" href="assets/css/ace-rtl.min.css" />
		<link rel="stylesheet" href="assets/css/ace-skins.min.css" />

		<!--[if lte IE 8]>
		  <link rel="stylesheet" href="assets/css/ace-ie.min.css" />
		<![endif]-->

		<!-- inline styles related to this page -->

		<!-- ace settings handler -->

		<script src="assets/js/ace-extra.min.js"></script>

		<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->

		<!--[if lt IE 9]>
		<script src="assets/js/html5shiv.js"></script>
		<script src="assets/js/respond.min.js"></script>
		<![endif]-->
		
		<!-- 标签页logo -->
		<link rel="shortcut icon" href="img/logo2.ico" />
	</head>

	<body>
		<div class="navbar navbar-default" id="navbar">
			<script type="text/javascript">
				try{ace.settings.check('navbar' , 'fixed')}catch(e){}
			</script>
			<!-- 顶部导航栏 -->
			<div class="navbar-container" id="navbar-container">
				<div class="navbar-header pull-left">
					<a href="#" class="navbar-brand">
						<small>
							<i class="icon-leaf"></i>
							36组美发POS系统
						</small>
					</a><!-- /.brand -->
				</div><!-- /.navbar-header -->
				
				<div class="navbar-header pull-right" role="navigation">
					
					<ul class="nav ace-nav">
						<!-- 导航栏右侧用户头像 -->
						<li class="light-blue">
							<a data-toggle="dropdown" href="#" class="dropdown-toggle">
								<img class="nav-user-photo" src="assets/avatars/user.jpg" alt="Jason's Photo" />
								<span class="user-info">
									<small>欢迎</small>
									<shiro:authenticated>  
									    <shiro:principal/>
									</shiro:authenticated>
								</span>

								<i class="icon-caret-down"></i>
							</a>

							<ul class="user-menu pull-right dropdown-menu dropdown-yellow dropdown-caret dropdown-close">
								<li>
									<a href="#">
										<i class="icon-cog"></i>
										设置
									</a>
								</li>

								<li>
									<a href="#">
										<i class="icon-user"></i>
										个人资料
									</a>
								</li>

								<li class="divider"></li>

								<li>
									<a href="logout.action">
										<i class="icon-off"></i>
										退出
									</a>
								</li>
							</ul>
						</li>
					</ul><!-- /.ace-nav -->
				</div><!-- /.navbar-header -->
			</div><!-- /.container -->
		</div>
		<!-- 导航栏结束 -->
		<!-- 页面主体 -->
		<div class="main-container" id="main-container">
			<script type="text/javascript">
				try{ace.settings.check('main-container' , 'fixed')}catch(e){}
			</script>

			<div class="main-container-inner">
				<a class="menu-toggler" id="menu-toggler" href="#">
					<span class="menu-text"></span>
				</a>
				<!-- 侧边栏 -->
				<div class="sidebar" id="sidebar">
					<script type="text/javascript">
						try{ace.settings.check('sidebar' , 'fixed')}catch(e){}
					</script>
					<!-- 4个button按钮 -->
					<div class="sidebar-shortcuts" id="sidebar-shortcuts">
						<div class="sidebar-shortcuts-large" id="sidebar-shortcuts-large">
							<button class="btn btn-success">
								<i class="icon-signal"></i>
							</button>

							<button class="btn btn-info">
								<i class="icon-pencil"></i>
							</button>

							<button class="btn btn-warning">
								<i class="icon-group"></i>
							</button>

							<button class="btn btn-danger">
								<i class="icon-cogs"></i>
							</button>
						</div>

						<div class="sidebar-shortcuts-mini" id="sidebar-shortcuts-mini">
							<span class="btn btn-success"></span>

							<span class="btn btn-info"></span>

							<span class="btn btn-warning"></span>

							<span class="btn btn-danger"></span>
						</div>
					</div><!-- #sidebar-shortcuts -->
					<!-- 侧边栏开始 -->
					<ul class="nav nav-list">
						<!-- class="active"会有蓝色三角形效果 -->
						<li class="active">
							<a href="index.jsp">
								<i class="icon-dashboard"></i>
								<span class="menu-text"> 控制台 </span>
							</a>
						</li>

						<li>
							<a href="storeInfo.jsp">
								<i class="icon-home"></i>
								<span class="menu-text"> 店铺信息 </span>
							</a>
						</li>

						<li>
							<a href="#" class="dropdown-toggle">
								<i class="icon-desktop"></i>
								<span class="menu-text"> 服务管理 </span>

								<b class="arrow icon-angle-down"></b>
							</a>

							<ul class="submenu">
								<li>
									<a href="showSC.jsp">
										<i class="icon-double-angle-right"></i>

										服务类型管理
									</a>
								</li>
								
								<li>
									<a href="showSer.jsp">
										<i class="icon-double-angle-right"></i>

										具体服务管理
									</a>
								</li>
							
							</ul> 
						</li> 

						<li>
							<a href="product.jsp">
								<i class="icon-bar-chart"></i>
								<span class="menu-text"> 产品管理 </span>
							</a>
						</li>
						
						<li>
							<a href="employee.jsp">
								<i class="icon-book"></i>
								<span class="menu-text"> 员工管理 </span>
							</a>
						</li>
						
						<li>
							<a href="vip.jsp" class="dropdown-toggle">
								<i class="icon-group"></i>
								<span class="menu-text"> 会员管理 </span>
							</a>
						</li>
						
						<!-- 有超级管理员权限才显示订单管理按钮 -->
						<shiro:hasPermission name="supadmin:*">
							<li>
								<a href="saleOrderList.jsp" class="dropdown-toggle">
									<i class="icon-laptop"></i> 
									<span class="menu-text"> 订单管理</span>
								</a>
							</li>
						</shiro:hasPermission>
						
					
					</ul><!-- /.nav-list -->
					<!-- 侧边导航栏结束 -->
					<!-- 缩小导航栏的按钮 -->
					<div class="sidebar-collapse" id="sidebar-collapse">
						<i class="icon-double-angle-left" data-icon1="icon-double-angle-left" data-icon2="icon-double-angle-right"></i>
					</div>

					<script type="text/javascript">
						try{ace.settings.check('sidebar' , 'collapsed')}catch(e){}
					</script>
				</div>
				<!-- 侧边栏结束，页面主体开始 -->
				<div class="main-content">
					<div class="breadcrumbs" id="breadcrumbs">
						<script type="text/javascript">
							try{ace.settings.check('breadcrumbs' , 'fixed')}catch(e){}
						</script>
						<!-- 主体顶部栏 -->
						<ul class="breadcrumb">
							<li>
								<i class="icon-home home-icon"></i>
								<a href="#">首页</a>
							</li>
							<li class="active">控制台</li>
						</ul><!-- .breadcrumb -->
						<!-- 主体顶部右侧搜索栏 -->
						<div class="nav-search" id="nav-search">
							<form class="form-search">
								<span class="input-icon">
									<input type="text" placeholder="Search ..." class="nav-search-input" id="nav-search-input" autocomplete="off" />
									<i class="icon-search nav-search-icon"></i>
								</span>
							</form>
						</div><!-- #nav-search -->
					</div>
					<!-- 控制台主体内容在这里 -->
					<div class="page-content">
						<div class="page-header">
							<h1>
								控制台
								<small>
									<i class="icon-double-angle-right"></i>
									 查看
								</small>
							</h1>
						</div><!-- /.page-header -->

						<div class="row">
							<div class="col-xs-12">
								<!-- PAGE CONTENT BEGINS -->
								<!-- 绿色警告条 -->
								<div class="alert alert-block alert-success">
									<button type="button" class="close" data-dismiss="alert">
										<i class="icon-remove"></i>
									</button>

									<i class="icon-ok green"></i>

									欢迎使用
									<strong class="green">
										36组美发POS系统
										<small>(v1.0)</small>
									</strong>
										
								</div>

								<div class="page-header">
								<div
									class="visible-md visible-lg hidden-sm hidden-xs action-buttons">
									<button class="btn btn-sm btn-info" data-toggle="modal"
										data-target="#addVip">
										<i class="icon-plus bigger-120"> 办理新会员</i>
									</button>
									<button class="btn btn-sm btn-success" data-toggle="modal"
										data-target="#recharge">
										<i class="icon-key bigger-120"> 储值卡充值</i>
									</button>
									<!-- 添加会员的模态框 -->
									<div>
										<div class="modal fade" id="addVip" tabindex="-1"
											role="dialog" aria-labelledby="myModalLabel">
											<div class="modal-dialog" role="document">
												<div class="modal-content">
													<div class="modal-header">
														<button type="button" class="close" data-dismiss="modal"
															aria-label="Close">
															<span aria-hidden="true">&times;</span>
														</button>
														<h4 class="modal-title" id="myModalLabel">添加新会员</h4>
													</div>
													<div class="modal-body">
														<div class="row">
															<div class="col-xs-12">
																<div class="form-group">
																	<label class="col-sm-3"> 会员姓名</label> <input
																		type="text" placeholder="请填写会员姓名（必须）" id="vipName">
																</div>
																<div class="form-group">
																	<label class="col-sm-3"> 会员电话 </label> <input
																		type="text" placeholder="请填写会员电话（可选）" id="vipPhone">
																</div>
																<div class="form-group">
																	<label class="col-sm-3"> 会员性别 </label>
																	<!-- <input type="text" placeholder="请填写产品品牌（可选）" id="pBrand"> -->
																	<select id="vipSex">
																		<option value="男">男</option>
																		<option value="女">女</option>
																	</select>
																</div>
																<div class="form-group">
																	<label class="col-sm-3"> 充值金额 </label> 
																	<input type="number" placeholder="请填写充值金额（必须）" id="vipRechargeAmount">
																	<hr>
																	<p class="col-md-offset-3">会员等级说明：</p>
																	<p class="col-md-offset-3">充值1000元以内：普通会员；</p>
																	<p class="col-md-offset-3">充值1000-2000元：银卡会员；</p>
																	<p class="col-md-offset-3">充值2000-3000元：金卡会员；</p>
																	<p class="col-md-offset-3">充值3000-4000元：黑卡会员；</p>
																	<hr>
																</div>
																<div class="form-group">
																	<label class="col-sm-3"> 备注 </label> <input type="text"
																		placeholder="请填写备注（可选）" id="vipRemark">
																</div>
															</div>
														</div>
													</div>
													<div class="modal-footer">
														<button type="button" class="btn btn-default"
															data-dismiss="modal">关闭</button>
														<button type="submit" onclick="saveVip(this)"
															class="btn btn-primary">添加</button>
													</div>
												</div>
											</div>
										</div>
									</div>
									<!-- 储值卡充值的模态框 -->
									<div>
										<div class="modal fade" id="recharge" tabindex="-1"
											role="dialog" aria-labelledby="myModalLabel">
											<div class="modal-dialog" role="document">
												<div class="modal-content">
													<div class="modal-header">
														<button type="button" class="close" data-dismiss="modal"
															aria-label="Close">
															<span aria-hidden="true">&times;</span>
														</button>
														<h4 class="modal-title" id="myModalLabel">储值卡充值</h4>
													</div>
													<div class="modal-body">
														<div class="row">															
															<div class="col-xs-12">
																<div class="form-group">
																	<label class="col-sm-2 control-label no-padding-right"
																		for="form-field-1"> 选择会员 </label>
			
																	<div class="col-md-offset-1 col-sm-5">
																		<select class="width-80 selectVip vip" id="form-field-select-3" 
																			data-placeholder="" onchange="checkRechAndAmount(this)">
																		</select>
																	</div>
																</div>
															</div>
															<hr>
															<div class="col-xs-12">
																<div class="form-group">
																	<label class="col-sm-3"> 会员充值总金额 </label> 
																	<input type="text" id="vipRechargeAll" readonly="readonly">
																</div>
															</div>
															<div class="col-xs-12">
																<div class="form-group">
																	<label class="col-sm-3"> 储值卡余额 </label>
																	<input type="text" id="vipAmountAll" readonly="readonly">
																</div>
															</div>
															<div class="col-xs-12">	
																<div class="form-group">
																	<label class="col-sm-3"> 充值金额 </label> 
																	<input type="number" placeholder="请填写充值金额" id="rechargeAmount" onchange="changeType(this)">
																	<hr>
																	<p class="col-md-offset-3">目前会员等级为：<span id="vType"></span></p>
																	<p class="col-md-offset-3">根据填入充值金额充值后等级为：<span id="chaType"></span></p>
																	<hr>
																</div>
															</div>
														</div>
													</div>
													<div class="modal-footer">
														<button type="button" class="btn btn-default"
															data-dismiss="modal">关闭</button>
														<button type="button" onclick="rechargeForVip(this)"
															class="btn btn-primary">充值</button>
													</div>
												</div>
											</div>
										</div>
									</div>
								</div>
							</div><!-- /.page-header -->							

							<!-- 继续在这里开始写内容 -->
								<div class="col-xs-12 col-sm-12">
									<div class="widget-box">
										<div class="widget-header">
											<h4>开单操作</h4>
											<span class="widget-toolbar"> 
												<a href="#" data-action="collapse"> <i class="icon-chevron-up"></i></a> 
											</span>
										</div>
	
										<div class="widget-body">
											<div class="widget-main">
												<div class="row">
													<!-- 经手人 -->
													<div class="col-sm-4">
														<label for="form-field-select-3">经手人</label> <br />
														<input type="text" id="adminName" readonly="readonly" 
															name="admin.name" value="<shiro:principal/>" style="height:30px;width:272px">
														<%-- <select
															class="width-80 selectAdmin stuff" id="form-field-select-3"
															data-placeholder="" onchange="stuffChange()">															
														</select> --%>
													</div>
													<!-- 会员 -->
													<div class="col-sm-4 ">
														<label for="form-field-select-3">选择会员</label> <br /> 
														<select
															class="width-80 selectVip theVip vip select-chosen" id="form-field-select-3"
															data-placeholder="" onchange="vipChange(this)">
												
														</select>
													</div>
													<!-- 理发师 -->
													<div class="col-sm-4">
														<label for="form-field-select-3">选择理发师</label> <br /> 
														<select
															class="width-80 selectBarber barber" id="form-field-select-3"
															data-placeholder="" onchange="barberChange()">
															
														</select>
													</div>

												</div><!-- row结束 -->
												
												<hr />
												
												<div class="row">
													<div class="col-xs-6">
														<div class="table-header">选择服务</div>
														<div class="table-responsive">
															<table id="sTable"
																class="table table-striped table-bordered table-hover">
																<thead>
																	<tr>
																		<th>ID</th>
																		<th>服务名称</th>
																		<th>单价</th>
																		<th>数量</th>
																		<th>操作</th>
																	</tr>
																</thead>
		
																<tbody></tbody>
															</table>
														</div>
													</div><!-- 服务的表格结束 -->
													<div class="col-xs-6">
														<div class="table-header">选择产品</div>
														<div class="table-responsive">
															<table id="pTable"
																class="table table-striped table-bordered table-hover">
																<thead>
																	<tr>
																		<th>ID</th>
																		<th>产品名称</th>
																		<th>单价</th>
																		<th>数量</th>
																		<th>操作</th>
																	</tr>
																</thead>
		
																<tbody></tbody>
															</table>
														</div>
													</div><!-- 产品的表格结束 -->
											</div><!-- row结束 -->

										</div><!-- widget-main结束 -->
										</div><!-- widget-body结束 -->
									</div><!-- widget-box结束 -->

									<div class="row">
										<div class="col-xs-12">
											<!-- datatable表格开始 -->
											<div class="row">
												<div class="col-xs-12">
													<div class="table-header">
														订单明细表										
													</div>
													<div class="table-responsive">
														<table id="itemTable"
															class="table table-striped table-bordered table-hover">
															<thead>
																<tr>
																	<!-- <th>订单号</th> -->
																	<th>ID</th>
																	<th>服务名称</th>
																	<th>产品名称</th>
																	<th>单价</th>
																	<th>数量</th>
																	<th>小计</th>
																	<th></th>
																</tr>
															</thead>
	
															<tbody></tbody>
														</table>
													</div>
												</div>
											</div><!-- 表格结束 -->
											<!-- button -->
											<div class="col-xs-12">
												<h2 class="col-xs-12">
													总额：<span id="sum"></span>&nbsp;&nbsp;&nbsp;&nbsp;
													会员储值卡余额：<span id="vBeforeAmount"></span>&nbsp;&nbsp;&nbsp;&nbsp;
													消费后余额：<span id="vAfterAmount"></span>
												</h2>	
												<div class="col-md-offset-10">
													<button class="btn btn-danger" data-toggle="modal" 
														data-target="#checkItemDebts" onclick="changeSON(this)">挂账</button>												
													<button class="btn btn-success" data-toggle="modal" 
														data-target="#checkItem" onclick="changeSON(this)">结算</button>
												</div>																							
											</div>
											<!-- 确认挂账的模态框 -->
											<div>
												<div class="modal fade" id="checkItemDebts" tabindex="-1"
													role="dialog" aria-labelledby="myModalLabel">
													<div class="modal-dialog" role="document">
														<div class="modal-content">
															<div class="modal-header">
																<button type="button" class="close" data-dismiss="modal" aria-label="Close">
																	<span aria-hidden="true">&times;</span>
																</button>
																<h4 class="modal-title" id="myModalLabel">请确认挂账订单</h4>
															</div>
															<div class="modal-body">
																<div class="row">
																	<div class="col-xs-12">
																		<div class="form-group">
																			<label class="col-sm-3"> 订单号 </label> 
																			
																			<span id="saleOrderNo"></span>
																		</div>
																		<div class="form-group">
																			<label class="col-sm-3"> 客户ID </label> 
																			<span id="vipMan"></span>
																			
																		</div>
																		<div class="form-group">
																			<label class="col-sm-3"> 总金额 </label> 
																			<span id="totalMo"></span>
																		
																		</div>
																		<div class="form-group">
																			<label class="col-sm-3"> 经手人ID</label> 
																			<span id="stuffMan"></span>
																		
																		</div>
																		<div class="form-group">
																			<label class="col-sm-3"> 理发师ID </label> 
																			<span id="barberMan"></span>
																			
																		</div>
																		<div class="form-group" id="statusMo">
																			<label class="col-sm-3"> 状态 </label> 
																			<span id="status">未结算</span>
																			
																		</div>
																		<div class="form-group" id="ItemMo">
																			<!-- 在js文件添加 -->
																		</div>
																		<div class="form-group" id="ProductMo">
																			<!-- 同样在js文件里添加 -->
																		</div>
																		<div class="form-group">
																			<label class="col-sm-3"> 收款人ID </label> 
																			<span id="payAdmin"></span>
																			
																		</div>
																	</div>
																</div>
															</div>
															<div class="modal-footer">
																<button type="button" onclick="debts()" class="btn btn-primary">确认挂账</button>
															</div>
														</div>
													</div>
												</div>
											</div>
											<!-- 确认支付的模态框 -->
											<div>
												<div class="modal fade" id="checkItem" tabindex="-1"
													role="dialog" aria-labelledby="myModalLabel">
													<div class="modal-dialog" role="document">
														<div class="modal-content">
															<div class="modal-header">
																<button type="button" class="close" data-dismiss="modal" aria-label="Close">
																	<span aria-hidden="true">&times;</span>
																</button>
																<h4 class="modal-title" id="myModalLabel">请确认订单</h4>
															</div>
															<div class="modal-body">
																<div class="row">
																	<div class="col-xs-12">
																		<div class="form-group">
																			<label class="col-sm-3"> 订单号 </label> 
																			
																			<span id="saleOrderNo2"></span>
																		</div>
																		<div class="form-group">
																			<label class="col-sm-3"> 客户ID </label> 
																			<span id="vipMan2"></span>
																			<p></p>
																			<p class="col-md-offset-3">会员：<span id="moVName"></span></p>
																			<p class="col-md-offset-3">储值卡余额：<span id="moVAmount"></span></p>
																			<p class="col-md-offset-3">消费金额：<span id="moVConsumption"></span></p>
																			<p class="col-md-offset-3">消费后储值卡余额：<span id="moVAfterConsumption"></span></p>
																		</div>
																		<div class="form-group">
																			<label class="col-sm-3"> 总金额 </label> 
																			<span id="totalMo2"></span>
																		
																		</div>
																		<div class="form-group">
																			<label class="col-sm-3"> 经手人ID</label> 
																			<span id="stuffMan2"></span>
																		
																		</div>
																		<div class="form-group">
																			<label class="col-sm-3"> 理发师ID </label> 
																			<span id="barberMan2"></span>
																			
																		</div>
																		<div class="form-group" id="statusMo">
																			<label class="col-sm-3"> 状态 </label> 
																			<span id="status">未结算</span>
																			
																		</div>
																		<div class="form-group" id="ItemMo2">
																			<!-- 在js文件添加 -->
																		</div>
																		<div class="form-group" id="ProductMo2">
																			<!-- 同样在js文件里添加 -->
																		</div>
																		<div class="form-group">
																			<label class="col-sm-3"> 交易方式 </label> 
																			<select class="typeMo">
																				<option value="储值卡支付">储值卡支付</option>
																				<option value="现金支付">现金支付</option>
																				<option value="微信支付">微信支付</option>
																				<option value="支付宝支付">支付宝支付</option>
																			</select>	
																		</div>
																		<div class="form-group">
																			<label class="col-sm-3"> 收款人ID </label> 
																			<span id="payAdmin2"></span>
																			
																		</div>
																	</div>
																</div>
															</div>
															<div class="modal-footer">
																<!-- <button type="button" class="btn btn-default"
																	data-dismiss="modal">关闭</button> -->
																<button type="button" onclick="payment(this)" class="btn btn-primary">确认支付</button>
															</div>
														</div>
													</div>
												</div>
											</div>
											
										</div><!-- /.col -->
									</div><!-- /.row -->
									
									<hr>
									
									<!-- 挂账表格 -->
									<div class="row">
										<div class="col-xs-12">
											<!-- datatable表格开始 -->
											<div class="row">
												<div class="col-xs-12">
													<div class="table-header">
														挂账表
													</div>
													<div class="table-responsive">
														<table id="debtsTable"
															class="table table-striped table-bordered table-hover">
															<thead>
																<tr>
																	<th>订单号</th>
																	<th>客户ID</th>
																	<th>客户姓名</th>
																	<th>消费时间</th>
																	<th>消费总额</th>
																	<th>经手人</th>
																	<th>理发师</th>
																	<th>状态</th>
																	<th>操作</th>
																</tr>
															</thead>
	
															<tbody></tbody>
														</table>
													</div>
												</div>
											</div><!-- 表格结束 -->
											<!-- 挂账表格里支付按钮,详情按钮的模态框 -->
											<div id="payMo"></div>
											<div id="payDetail"></div>
										</div><!-- /.col -->
									</div><!-- /.row -->
									
							</div>





							<!-- PAGE CONTENT ENDS -->
							</div><!-- /.col -->
						</div><!-- /.row -->
					</div><!-- /.page-content -->
				</div><!-- /.main-content -->
				<!-- 主体右边设置按钮 -->
				<div class="ace-settings-container" id="ace-settings-container">
					<div class="btn btn-app btn-xs btn-warning ace-settings-btn" id="ace-settings-btn">
						<i class="icon-cog bigger-150"></i>
					</div>

					<div class="ace-settings-box" id="ace-settings-box">
						<div>
							<div class="pull-left">
								<select id="skin-colorpicker" class="hide">
									<option data-skin="default" value="#438EB9">#438EB9</option>
									<option data-skin="skin-1" value="#222A2D">#222A2D</option>
									<option data-skin="skin-2" value="#C6487E">#C6487E</option>
									<option data-skin="skin-3" value="#D0D0D0">#D0D0D0</option>
								</select>
							</div>
							<span>&nbsp; 选择皮肤</span>
						</div>

						<div>
							<input type="checkbox" class="ace ace-checkbox-2" id="ace-settings-navbar" />
							<label class="lbl" for="ace-settings-navbar"> 固定导航条</label>
						</div>

						<div>
							<input type="checkbox" class="ace ace-checkbox-2" id="ace-settings-sidebar" />
							<label class="lbl" for="ace-settings-sidebar"> 固定滑动条</label>
						</div>

						<div>
							<input type="checkbox" class="ace ace-checkbox-2" id="ace-settings-breadcrumbs" />
							<label class="lbl" for="ace-settings-breadcrumbs">固定面包屑</label>
						</div>

						<div>
							<input type="checkbox" class="ace ace-checkbox-2" id="ace-settings-rtl" />
							<label class="lbl" for="ace-settings-rtl">切换到左边</label>
						</div>

						<div>
							<input type="checkbox" class="ace ace-checkbox-2" id="ace-settings-add-container" />
							<label class="lbl" for="ace-settings-add-container">
								切换窄屏
								<b></b>
							</label>
						</div>
					</div>
				</div><!-- /#ace-settings-container -->
			</div><!-- /.main-container-inner -->

			<a href="#" id="btn-scroll-up" class="btn-scroll-up btn btn-sm btn-inverse">
				<i class="icon-double-angle-up icon-only bigger-110"></i>
			</a>
		</div><!-- /.main-container -->

		<!-- basic scripts -->

		<!--[if !IE]> -->

		<script src="assets\js\jquery-2.0.3.min.js"></script>

		<!-- <![endif]-->

		<!--[if IE]>
		<script src="assets\js\jquery-1.10.2.min.js"></script>
		<![endif]-->

		<!--[if !IE]> -->

		<script type="text/javascript">
			window.jQuery || document.write("<script src='assets/js/jquery-2.0.3.min.js'>"+"<"+"script>");
		</script>

		<!-- <![endif]-->

		<!--[if IE]>
		<script type="text/javascript">
		 window.jQuery || document.write("<script src='assets/js/jquery-1.10.2.min.js'>"+"<"+"script>");
		</script>
		<![endif]-->

		<script type="text/javascript">
			if("ontouchend" in document) document.write("<script src='assets/js/jquery.mobile.custom.min.js'>"+"<"+"script>");
		</script>
		<script src="assets/js/bootstrap.min.js"></script>
		<script src="assets/js/typeahead-bs2.min.js"></script>

		<!-- page specific plugin scripts -->

		<!--[if lte IE 8]>
		  <script src="assets/js/excanvas.min.js"></script>
		<![endif]-->

		<script src="assets/js/jquery-ui-1.10.3.custom.min.js"></script>
		<script src="assets/js/jquery.ui.touch-punch.min.js"></script>
		<script src="assets/js/jquery.slimscroll.min.js"></script>
		<script src="assets/js/jquery.easy-pie-chart.min.js"></script>
		<script src="assets/js/jquery.sparkline.min.js"></script>
		<script src="assets/js/flot/jquery.flot.min.js"></script>
		<script src="assets/js/flot/jquery.flot.pie.min.js"></script>
		<script src="assets/js/flot/jquery.flot.resize.min.js"></script>
		
		
		<script src="assets/js/chosen.jquery.min.js"></script>
		<script src="assets/js/fuelux/fuelux.spinner.min.js"></script>
		<script src="assets/js/date-time/bootstrap-datepicker.min.js"></script>
		<script src="assets/js/date-time/bootstrap-timepicker.min.js"></script>
		<script src="assets/js/date-time/moment.min.js"></script>
		<script src="assets/js/date-time/daterangepicker.min.js"></script>
		<script src="assets/js/bootstrap-colorpicker.min.js"></script>
		<script src="assets/js/jquery.knob.min.js"></script>
		<script src="assets/js/jquery.autosize.min.js"></script>
		<script src="assets/js/jquery.inputlimiter.1.3.1.min.js"></script>
		<script src="assets/js/jquery.maskedinput.min.js"></script>
		<script src="assets/js/bootstrap-tag.min.js"></script>
		
		<!-- page specific plugin scripts -->

		<script src="assets/js/jquery.dataTables.min.js"></script>
		<script src="assets/js/jquery.dataTables.bootstrap.js"></script>

		<!-- ace scripts -->

		<script src="assets/js/ace-elements.min.js"></script>
		<script src="assets/js/ace.min.js"></script>

		<!-- 加载自定义的js文件 -->
		<script type="text/javascript" src="js/index.js"></script>

		<!-- inline scripts related to this page -->

		<script type="text/javascript">
			
		</script>
	 
</body>
</html>

<script>var _hmt = _hmt || [];(function(){var hm=document.createElement("script");hm.src = "//hm.baidu.com/hm.js?a43c39da34531f4da694d4499c5614d4";var s=document.getElementsByTagName("script")[0];s.parentNode.insertBefore(hm, s);})();</script>